package com.naizhuai.ui.ainote.note;

import com.naizhuai.BasePresenter;
import com.naizhuai.BaseView;
import com.naizhuai.Model.db.ainote.Note;

import java.util.ArrayList;
import java.util.List;

/**
 * @author：lichenxi
 * @date 2018/2/22 13
 * email：525603977@qq.com
 * Fighting
 */
public interface NoteContract {

    interface  View  extends BaseView<Presenter> {
        void showNotes(List<Note> notes);

        void showNoTasks();

        void setLoadingIndicator();

        void showRecycleViewItem(List<Note> detenotes);

        void showSuccessfullySavedMessage();

    }
    interface Presenter extends BasePresenter<View> {
        void setFiltering(Note.NoteFilterType requestType);
        void loadNotes();
        void deleteNote(ArrayList notes);
    }
}
